using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
using CommonTools;

namespace shop.Model
{


	/// <summary> 辅助资料 </summary>
	public partial class JSubMessage : IFastTree
	{
		[Column(IsIgnore = true)]
		public string NodeText => this.Code + " " + this.Name;


		[Column(IsPrimary = true, IsIdentity = true)]
		public int ID { get; set; }

		/// <summary> 代码 </summary>
		[VarChar(20)]
		public string Code { get; set; }

		/// <summary> 名称 </summary>
		[Column(StringLength = 100)]
		public string Name { get; set; } = "";

		/// <summary> 中文 </summary>
		[Column(Name = "Name_cn", StringLength = 100)]
		public string NameCn { get; set; } = "";

		/// <summary> 英文 </summary>
		[Column(Name = "Name_en", StringLength = 100)]
		public string NameEn { get; set; } = "";

		///// <summary> 印尼 </summary>
		//[Column(Name = "Name_id", StringLength = 100)]
		//public string NameId { get; set; } = "";

		/// <summary> 简码(拼音简写) </summary>
		[Column(StringLength = 50)]
		public string Shortcode { get; set; }


		[Column(StringLength = 50)]
		public string PreparedBy { get; set; }


		/// <summary> 是否明细 </summary>
		public bool? IsDetails { get; set; } = false;

		public bool? IsCheck { get; set; }

		public DateTime? CheckDate { get; set; }

		[Column(StringLength = 30)]
		public string Checker { get; set; }


		public DateTime? ModifyTime { get; set; }

		/// <summary> 是否禁用 </summary>
		public bool? Isdel { get; set; } = false;


	}

}
